//
//  FansViewController.swift
//  MyTest
//
//  Created by guanzhongwang on 2021/5/11.
//

import UIKit

class FansViewController : CommonViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        title = "粉丝"
        let item = UIBarButtonItem.init(image: UIImage(named: "tianjiahaoyou")?.withRenderingMode(.alwaysTemplate), style: .plain, target: self, action: #selector(rightBtnClick))
        item.tintColor = B000_COLOR
        self.navigationItem.rightBarButtonItem = item
        
        let tableView = UITableView.init(frame: view.bounds, style: .plain)
        view.addSubview(tableView)
        tableView.delegate = self
        tableView.dataSource = self
        tableView.rowHeight = 80
        tableView.tableFooterView = UIView()
        tableView.backgroundColor = BACKGROUND_COLOR
        tableView.separatorColor = Separator_COLOR
        self.navigationController?.navigationBar.setBackgroundImage(UIColor.white.toImage(), for: .any, barMetrics: .default)

    }
    @objc func rightBtnClick(){
        
    }
}
extension FansViewController:UITableViewDelegate{
    
}
extension FansViewController:UITableViewDataSource{
    func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        return 10
    }
    
    func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        return UITableViewCell.init()
    }
    
    
}
